import React, {PureComponent} from 'react';
import './Home.css'
import Left from "../Left";
import Right from "../Right";
import Center from "../Center";
import ReactReduxDemo from '../ReactReduxDemo'
import {Provider} from "react-redux";
import store from "../store";

class Home extends PureComponent {
    constructor(props) {
        super(props);
        this.state = {
            components: [
                {'名称': '内容'}
            ]
        }
    }

    render() {

        return (
            <Provider store={store}>
                <ReactReduxDemo/>
                <div className="home">
                    <div className='h fl'>
                        <Left/>
                    </div>
                    <div className='h fc'>
                        <Center/>
                    </div>
                    <div className='h fr'>
                        <Right/>
                    </div>
                </div>
            </Provider>
        );
    }
}

Home.propTypes = {};

export default Home;